.order-detail {
    position: fixed;
    top: 15%;
    left: 50%;
    width: 600px;
    height: 70%;
    margin-left: -300px;
    z-index: 10;
    background-color: #eee;
    border-radius: 6px;
    padding: 15px 10px;
}

.order-detail h3 {
    font-weight: normal;
    margin: 0;
    padding: 20px;
    font-size: 26px;
    text-align: center;
    /*background-color: #f1f6fc;*/
    border-bottom: 1px solid #c5c7ca;
}

.order-detail .section {
    /*background-color: #f1f6fc;*/
    height: calc(~"100% - 162px");
    overflow: auto;
    img {
        width: 18px;
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 4px;
    }
}

.order-detail table {
    width: 100%;
}

.order-detail tr {
    border-bottom: 1px solid #c5c7ca;
}

.order-detail tr.white-bg {
    background-color: #fff;
}
.order-detail tr.order-jd {
    .curr-select{
        background: url('../img/star3.png') 100% 100% no-repeat;
        background-size: 100%;
    }
    .no-select{
        background: url('../img/star4.png') 100% 100% no-repeat;
        background-size: 100%;
    }
    span{
        display: inline-block;
        width: 30px;
        height: 30px;
    }
    td:nth-child(2) {
        div {
            text-indent: 2em;
            margin: 5px 0;
            display: flex;
            justify-content: center;
        }
    }
}
.order-detail tr.deal-bg{
    span{
        display: block;
    }
}
.imgPop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.3);
    padding: 20px;
    text-align: center;
    img {
        display: inline-block;
        max-width: 100%;
        max-height: 100%;
    }
}

.order-detail tr.yyd {
    td {
        color: #7ab5ec;
        font-weight: bold;
    }
}

.order-detail tr.white-bg td:nth-child(2) {
    color: #84bc35;
    ;
}

.order-detail tr.no-border {
    border: 0;
}

.order-detail tr td {
    padding: 7px 5px;
    line-height: 20px;
    text-align: center;
    color: #656565;
    position: relative;
    border-left: 0;
}

.order-detail tr td:nth-child(1) {
    width: 110px;
    border-right: 1px solid #c5c7ca;
}

.order-detail thead td:nth-child(1) {
    background-color: #a6c8f1;
    color: #fff;
    font-size: 16px;
}

.order-detail tr td.red {
    color: #ff0000;
}

.order-detail .gps {
    /*background-color: #f1f6fc;*/
    padding: 10px 5px;
    overflow: hidden;
    border-top: 1px solid #c5c7ca;
}

.order-detail .gps a {
    padding: 6px 10px;
    font-size: 14px;
    text-decoration: none;
    color: #f86826;
}

.order-detail .btn {
    padding: 10px 40px;
    font-size: 16px;
    height: auto;
    line-height: 20px;
}

.order-detail .text-center {
    padding: 10px;
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: block;
    width: 40px;
    color: #fff;
    line-height: 34px;
    text-align: center;
    &:empty {
        display: none;
    }
    &.fast {
        //急单
        background-color: #eb6f00;
    }
    &.faster,
    &.miss {
        //误单
        background-color: #c03f2d;
    }
    &.repair {
        //补单
        background-color: #8c8c8c;
    }
    &.beforehand {
        //预单
        background-color: #7ab5ec;
    }
    &.del {
        //销单
        background-color: #a3a4a7;
    }
    &.back {
        //返程单
        background-color: #5a841e;
    }
    &.his {
        background-color: #84bc35;
    }
    &.self {
        //自发单
        background-color: #6C81DC;
    }
}

.lis-div-btn {
    text-align: center;
    padding-top: 15px;
    button {
        display: inline-block;
        width: 28%;
        margin: 5px;
        padding: 14px 0;
        color: #fff;
        border-radius: 6px;
        outline: none;
        border: 0;
        font-size: 20px;
    }
    .sms {
        background-color: #90281a;
    }
    .urge {
        background-color: #eb6f00;
    }
    .again {
        background-color: #84bc35;
    }
    .del {
        background-color: #a3a4a7;
    }
    .edit {
        background-color: #58585a;
    }
}

.imgLis {
    a {
        display: inline-block;
        vertical-align: middle;
        width: 36px;
        height: 36px;
        margin: 5px;
        img {
            width: 36px;
            height: 36px;
        }
    }
}

.handle-bg {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    width: 100%;
    background: rgba(218, 218, 218, 0.58);
}

.handle-sure {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    .btn {
        border-radius: 6px;
        border: 0;
        color: #fff;
        margin: 0 15px;
    }
    .close-btn {
        background: #908c8c;
    }
    .ok-btn {
        background: #09a278;
    }
}

.cancel-pop {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 340px;
    border-radius: 4px;
    background-color: #fff;
    padding: 10px 16px;
    margin: -216px auto 0;
    box-shadow: 0 0 6px #222;
    z-index: 3;
    h4 {
        padding: 0 0 8px;
        margin: 0;
        font-size: 20px;
        color: #657180;
        text-align: center;
    }
    .handle-box {
        padding-top: 8px;
        padding-bottom: 6px;
        text-align: right;
    }
    .btn {
        border-radius: 6px;
        border: 0;
        color: #fff;
        text-align: center;
    }
    .close-btn {
        float: left;
        background: #908c8c;
    }
    .ok-btn {
        background: #09a278;
    }
}
.textarea-box {
    position: relative;
    textarea {
        width: 100%;
        height: 220px;
        padding: 6px;
        resize: none;
        border-color: #a9a9a9;
        border-radius: 3px;
        font-size: 18px;
        color: #38947c;
    }
    .textarea-txt {
        position: absolute;
        top: 0;
        height: 100%;
        left: 0;
        width: 100%;
        text-align: center;
        .inline-block {
            display: inline-block;
            vertical-align: middle;
            color: #888;
            font-size: 20px;
        }
        &:after {
            content: '';
            display: inline-block;
            vertical-align: middle;
            height: 100%;
            width: 0;
        }
    }
}

@media screen and (max-width: 1200px) {
    .order-detail h3 {
        padding: 8px;
        font-size: 22px;
    }
    .order-detail .section {
        height: calc(~'100% - 110px');
        img {
            width: 16px;
            display: inline-block;
            vertical-align: middle;
            margin-bottom: 4px;
        }
    }
    .lis-div-btn button {
        padding: 12px 0;
        font-size: 18px;
    }
}

@media screen and (max-width: 900px) {
    .order-detail {
        padding: 8px;
        width: 500px;
        margin-left: -250px;
    }
    .order-detail h3 {
        padding: 8px;
        font-size: 14px;
    }
    .order-detail .section {
        height: calc(~'100% - 80px');
        img {
            width: 14px;
            display: inline-block;
            vertical-align: middle;
            margin-bottom: 2px;
        }
    }
    .lis-div-btn {
        padding-top: 10px;
    }
    .lis-div-btn button {
        padding: 7px 0;
        font-size: 14px;
    }
    .order-detail tr td {
        padding: 5px;
    }
}
